{{=action('header', 'index')}}
            {{$data = $get('data');}}
            <div class="block">
                <div class="block_head">
                    <div class="bheadl"></div>
                    <div class="bheadr"></div>
                    <h2>_("Liste des utilisateurs")_</h2>
                    <ul>
						<li><a href="#" onclick="viewFilter(); return false;">_("Filtrer")_</a></li>
						<li><a target="_blank" href="{{=getvar('exportUrl')}}">_("Exporter")_</a></li>
                        <li><a href="{{=makeUrl(getvar('**page**'), 'add')}}">_("Ajouter un utilisateur")_</a></li>
					</ul>

                </div>
                <div class="block_content">
                    {{=partial('filtre', 'list')}}
                    <p class="breadcrumb"><a href="{{=URL_SITE}}">_("Accueil")_</a> &raquo; <a href="#" onclick="return false;">_("Utilisateurs")_</a> &raquo; <strong>_("Liste")_</strong></p>
                    {{=partial('filterInfo', 'list')}}
                    {{if(!count($data)):}}
                    <div class="message errormsg">
                        <p>_("Il n'y a aucune donnée à afficher.")_</p>
                    </div>
                    {{else:}}
                    {{=partial('pagination', 'list')}}
                    <table class="liste">
                    <thead id="thd">
                        <tr>
                            <th>_('Langue')_&nbsp;{{=makeOrder('users.langue');}}</th>
                            <th>_('Rôle')_&nbsp;{{=makeOrder('roles.nom');}}</th>
                            <th>_('Login')_&nbsp;{{=makeOrder('users.login');}}</th>
                            <th>_('Nom')_&nbsp;{{=makeOrder('users.nom');}}</th>
                            <th>_('Prénom')_&nbsp;{{=makeOrder('users.prenom');}}</th>
                            <th>_('Courriel')_&nbsp;{{=makeOrder('users.courriel');}}</th>
                            <th>&nbsp;</th>
                        </tr>
                    </thead>
                    <tbody>
                        {{$i = 0;}}
                        {{foreach($data as $row):
                        setvar('**idRow**', $row['id']);
                        }}
                        <tr class="{{if ($i++ % 2 <> 0):}}im{{endif;}}pair">
                            <td>{{=aff_fo($row['langue']);}}</td>
                            <td>{{=aff_fo($row['role']);}}</td>
                            <td>{{=aff_fo($row['login']);}}</td>
                            <td>{{=aff_fo($row['nom']);}}</td>
                            <td>{{=aff_fo($row['prenom']);}}</td>
                            <td>{{=aff_fo($row['courriel']);}}</td>
                            {{=partial('crud', 'list')}}
                        </tr>
                        {{endforeach;}}
                    </tbody>
                    </table>
                    {{=partial('pagination', 'list')}}
                    {{endif;}}
                </div>
                <div class="bendl"></div>
				<div class="bendr"></div>
			</div>
{{=action('footer', 'index')}}